#include <gtk/gtk.h>


void on_new1_activate(GtkMenuItem *menuitem, gpointer user_data);
void on_new_tb(GtkToolButton *tbutton, gpointer user_data);

gboolean expose_event_callback (GtkWidget *widget, GdkEventExpose *event, gpointer data);
gboolean button_press_event_callback (GtkWidget *widget, GdkEventButton *event, gpointer data);

void on_open1_activate(GtkMenuItem *menuitem, gpointer user_data);
void on_open_tb(GtkToolButton *tbutton, gpointer user_data);

void on_save1_activate(GtkMenuItem *menuitem, gpointer user_data);
void on_save_tb(GtkToolButton *tbutton, gpointer user_data);

void on_save_as1_activate(GtkMenuItem *menuitem, gpointer user_data);
void on_save_as_tb(GtkToolButton *tbutton, gpointer user_data);

void on_quit1_activate(GtkMenuItem *menuitem, gpointer user_data);

void on_knots_menu(GtkMenuItem *menuitem, gpointer user_data);
void on_splits_menu(GtkMenuItem *menuitem, gpointer user_data);
void on_knots_tb(GtkToggleToolButton *tbutton, gpointer user_data);
void on_splits_tb(GtkToggleToolButton *tbutton, gpointer user_data);

gboolean key_press_cb(GtkWidget *widget, GdkEventKey *key, GtkWindow *window);

void
on_zoom_in1_activate                   (GtkMenuItem     *menuitem,
                                        gpointer         user_data);

void
on_zoom_out1_activate                  (GtkMenuItem     *menuitem,
                                        gpointer         user_data);
void
on_fullscreen_activate                   (GtkMenuItem     *menuitem,
                                        gpointer         user_data);

void
on_toolbar_toggle                   (GtkMenuItem     *menuitem,
                                        gpointer         user_data);

void
on_help_on_knot1_activate              (GtkMenuItem     *menuitem,
                                        gpointer         user_data);

void
on_about1_activate                     (GtkMenuItem     *menuitem,
                                        gpointer         user_data);
